import request from '@/utils/request'
export function translateInvoice(query) {
  return request({
    url: '/arpa-basic-api/invoice/translateInvoice',
    method: 'get',
    params: query
  })
}
export function invoiceMessage(query) {
  return request({
    url: '/arpa-basic-api/invoiceMessage',
    method: 'get',
    params: query
  })
}
export function invoiceList(data) {
  return request({
    url: '/arpa-basic-api/invoice',
    method: 'get',
    params: data
  })
}
export function invoiceSimpleDetail(data) {
  return request({
    url: '/arpa-basic-api/invoice/simpleDetail',
    method: 'get',
    params: data
  })
}
export function drawInvoice(data) {
  return request({
    url: '/arpa-basic-api/invoice/drawInvoice',
    method: 'put',
    params: data
  })
}
export function invoice(data) {
  return request({
    url: '/arpa-basic-api/invoice',
    method: 'post',
    params: data
  })
}
export function partyBalanceStatistics(query) {
  return request({
    url: '/arpa-basic-api/party/partyBalanceStatistics',
    method: 'get',
    params: query
  })
}
export function shipmentPaidRecord(query) {
  return request({
    url: '/arpa-basic-api/shipmentPaidRecord',
    method: 'get',
    params: query
  })
}
export function submitRecharge(data) {
  return request({
    url: '/arpa-basic-api/shipmentPaidRecord/submitRecharge',
    method: 'put',
    params: data
  })
}
export function transferApply(query) {
  return request({
    url: '/arpa-basic-api/transferApply',
    method: 'get',
    params: query
  })
}
export function transferConfirm(query) {
  return request({
    url: '/arpa-basic-api/transferApply/transferConfirm',
    method: 'put',
    params: query
  })
}
